/**
 * User: tengmt
 * Date: 15-1-19
 */
define(["app", "directives/group/GroupItem", "resources/ContactsResource"],
    function(app) {

        var deps = ["$scope", "$stateParams", "ContactsResource"];

        function controller($scope,  $stateParams, ContactsResource) {
        	// 接收groupId 传给指令
        	$scope.groupId = $stateParams.groupId;
        }

        controller.$inject = deps;
        app.lazy.controller("GroupListController", controller);
    });

